<?php
     include_once("../letta/db/lettaSql.php");
	 include_once("../letta/Main/letta.php");
	 $sql   = new veritabani("localhost","turker","20041987","letta");
	 $veri  = serializePOST("icerikBaslik","icerikAciklama","icerikResim","editor1");
	 $komut = mysql_query("SELECT * FROM kategori") or die(mysql_error());
	 $sql->ekle(kategori,veri+"1,1,1,tr");
	 echo "<item>";
		while($value = mysql_fetch_array($komut))
		{
				echo "<urun id='$value[0]'>";
				echo "<param0>".$value[0]."</param0>";
				echo "<param1>".$value[1]."</param1>";
				echo "<param2>".$value[2]."</param2>";
				echo "<param3>".$value[3]."</param3>";
				echo "<param4>".$value[4]."</param4>";
				echo "<param5>".$value[5]."</param5>";
			echo "</urun>";
		}

	 echo "</item>";
?>